﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Store
{
    public partial class Store_Category2Product
    {
        [Key, Column(Order = 0)]
        [ForeignKey("Store_Product")]
        public int Store_Product_Id { get; set; }
        [Key, Column(Order = 1)]
        [ForeignKey("Store_Category")]
        public int Store_Category_Id { get; set; }
        public int SortOrder { get; set; }

        public virtual Store_Product Store_Product { get; set; }
        public virtual Store_Category Store_Category { get; set; }        
    }
}
